<?php
/*得到活动当前文件夹名称*/
function &myGetPath(){
	static $new_path = false;
	if(empty($new_path) ){
		$path = dirname(__FILE__);
		$path_arr = explode('/',$path);
		unset($path);
		$new_path  = end($path_arr);
		unset($path_arr);
	}
	return $new_path;
}
$curr_path =  myGetPath();
load_config('grzbs/config');
load_config('grzbs/db');  //加载db的配置文件
load_config('grzbs/mc');  //加载memcache的配置文件
load_config('lang');

load_library('sys:MemcacheSession.inc', false);
load_library('pub:user/BDBMemberCenterEngine.inc', false);
load_library('pub:friend/FriendPassPort', false);

load_library('db');  //加载db类
load_library('text');  //加载文本处理类
load_library('mc');  //加载mc

load_helper('common');
load_helper('account');
load_helper('func');

?>